package com.common.modelUtil;

import com.jfinal.plugin.activerecord.generator.MetaBuilder;

import javax.sql.DataSource;

/**
 * Created by Administrator on 2019-12-30.
 */
class _MetaBuilder extends MetaBuilder {
    public _MetaBuilder(DataSource dataSource){
        super(dataSource);
    }

    @Override
    protected boolean isSkipTable(String tableName) {
        String[] tableArray = {"xj_online_message"};//此处填入需要生成model的表
        for(int i=0;i<tableArray.length;i++){
            if(tableName.equals(tableArray[i])){
                return false;
            }
        }
        return true;
    }
}
